Parameter | Description |
target | Identifier of variable to store result in |
1st# | First of two numbers to add |
2nd# | Second of two numbers to add |
Codeline | Description | Output |
@+ add_res 12 30 | Add 12 and 30 and store the result in a variable named add_res | |
12+30=%add_res% | 12+30=42 |
Parameter | Description |
target | Identifier of variable to store result in |
1st# | First of two numbers to add |
2nd# | Second of two numbers to add |
Codeline | Description | Output |
@- sub_res 30 10 | Subtract 10 from 30 and store the result in sub_res | |
30-10=%sub_res% | 20 |
Parameter | Description |
target | Identifier of variable to store result in |
1st# | Number to divide |
2nd# | Number to divide on |
Codeline | Description | Output |
@/ div_res 30 2 | Divide 30 on 2 and store the result in a variable named div_res | |
30/2=%div_res% | 30/2=15 |
Parameter | Description |
target | Identifier of variable to store result in |
1st# | 1st number to multiply |
2nd# | 2nd number to multiply |
Codeline | Description | Output |
@* mlt_res 2 2 | Multiply 2 and 2 and store the result in a variable named mlt_res | |
2*2=%mlt_res% | 2*2=4 |
Parameter | Description |
freq | Frequency of sound in Hz |
len | Length of sound in 1/1000th second |
Codeline | Description | Output |
@beep 5500 1000 | Play a 5,5kHz sound for 1 second |
Parameter | Description |
filename | Name of script to call |
Codeline | Description | Output |
@call TEST | Call script SCRIPTS\TEST | (from script TEST only) |
Parameter | Description |
var | Identifier of variable to convert |
Codeline | Description | Output |
@set one_var this is a test | Store value in variable one_var | |
@Case one_var | Convert content of one_var to nice-case | |
%one_var% | This Is A Test |
Parameter | Description |
var | Identifier of variable to convert |
Codeline | Description | Output |
@set one_var This Is A Test | Store value in variable one_var | |
@CASE one_var | Convert content of one_var to upper-case | |
%one_var% | THIS IS A TEST |
Parameter | Description |
command | FOSS command to run |
Codeline | Description | Output |
@command ? | Display current menu | (current menu) |
Parameter | Description |
vardump | Cause a screen dump of all allocated variables |
Codeline | Description | Output |
@debug | Init debug mode | |
@debug vardump | Display current variables | (dump of variables) |
Parameter | Description |
secs | Number of seconds to delay |
char | Optional character to print each second |
Codeline | Description | Output |
@delay 5 . | Delay for 5 seconds, send . each second | ..... |
Parameter | Description |
filename | Name or path of file to delete |
Codeline | Description | Output |
@delfile test.tst | Delete file test.tst |
Parameter | Description |
command | Command to be added to command que |
Codeline | Description | Output |
@exit | End script | |
@exit ? | End script and show current menu | (current menu) |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
str1 str2 |
Strings to be compared, these strings must be surrounded by " if they include spaces. |
1st# 2nd# |
Numbers to be compared |
label | Label to jump to if argument given is true |
Codeline | Description | Output |
@if 1 = 1 Ok | Compare 1 and 1, jump to Ok if equal. | |
@if "Terje Flaaronning" "%usr_name%" Ok | Compare Terje Flaaronning aginst system variable usr_name and jump to Ok if equal. |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |
Parameter | Description |
Codeline | Description | Output |